﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NOAH.CMS.Repository
{
    public class ConfigRepository : Repository<Config>
    {

        public Config GetConfigByKey(string key)
        {
            return GetTable().Where(p => p.Key == key).FirstOrDefault();

        }
    }
}
